package homework;

import java.sql.SQLOutput;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User：Lenovo
 * Date:2024-11-13
 * Time:21:57
 */
//⼤⼩写转换
public class Test11_13 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        while(scanner.hasNextLine()){
            String line=scanner.nextLine();
            if(Character.isLowerCase(line.charAt(0))) {
                //if(line.charAt(0)>=97&&line.charAt(0)<=122)
                char c =(char)(line.charAt(0) - 32);
                System.out.println(c);
            }
            else{
                char c=(char)(line.charAt(0)+32);
                System.out.println(c);
                }
        }
    }
}
